package cn.opopopo.design_pattern_learn.行为型.iterator;

class Book {
    private String name;

    public Book(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    @Override
    public String toString() {
        return "《" + name + "》";
    }
}

